package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.Customer;
import org.example.pojo.Good;

import java.util.List;

public interface GoodMapper {
    //添加数据
    void addGood(Good good);

    //删除数据
    void deleteGood(@Param("Gids") String[] Gids);

    //修改数据
    void updateGood(Good good);

    //查询数据
    List<Good> selectGoodBy(Good good);

    //用主键查询
    Good selectGoodById(String Gid);
    List<Good> selectAll();
}
